package com.sweet.imserver.utils;

import cn.hutool.core.util.StrUtil;
import com.sweet.imserver.exception.SwRuntimeException;

public class BaseUtils {
  public static void checkNotBank(Object o, String message) {
    if (o == null || StrUtil.isBlank(o.toString())) {
      throw new SwRuntimeException(message);
    }
  }
}
